Total Complexity | 39 |
Dependencies | 15 |
Dependents | 2 |
Total lines | 343 |
Lines of code | 147 |
Logical lines of code | 68 |
Comment lines | 128 |
Methods | 14 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
hooks() | 54 | 8 | 22 | |
log_webhook() | 54 | 7 | 22 | |
dispatch_stripe_webhooks_payload() | 50 | 6 | 30 | |
register_rest_routes() | 58 | 2 | 16 | |
process_event() | 64 | 3 | 9 | |
dispatch_with_url_param() | 71 | 2 | 6 | |
get_webhook_signature() | 70 | 2 | 6 | |
get_webhook_signing_secret() | 68 | 2 | 7 | |
is_rest_verification() | 78 | 2 | 3 | |
get_event_whitelist() | 62 | 1 | 11 | |
init() | 82 | 1 | 3 | |
dispatch_with_error_500() | 73 | 1 | 5 | |
respond() | 75 | 1 | 4 | |
get_webhooks_events_list() | 80 | 1 | 3 |